home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
5PM PowerMac
/
5PM_Term_PPC.sea
/
Palettes Folder
/
Session Sets.rsrc
/
WTXT_0
< prev
Wrap
Text File
|
1994-02-04
|
993b
|
41 lines
On open
Signal checksets after 1 secs
End open
On CheckSets
Get the targetSession of 5PM
Set the enable of btn 2 to it is not empty
Set the enable of btn 3 to it is not empty
If it is empty then
Put empty into btn 2
Put empty into btn 3
Else
Do GetSetData the hotSpotSet of it, 2, "SSET" -- Hot Spots
Do GetSetData the keySet of palt last word of it, 3, "KSET" -- Hot Spots
End if
Signal CheckSets after 1 secs
End CheckSets
On GetSetData defaultSet, btnRef, setType
Get the targetSession of 5PM
Get SortLinesOnKey (ListPaltResType (setType, last word of it))
If it is not empty then
Put "no sets" & cr & it into data
Else
Put "no sets" into data
End if
If defaultSet is empty then
Get 1
Else
Get FindElement (data, defaultSet, cr)
End if
If data is not btn btnRef then
Put data into btn btnRef
Set the curValue of btn btnRef to it
Else
If the curValue of btn btnRef <> it then
Set the curValue of btn btnRef to it
End if
End if
End GetSetData